<?php

include("../lib/db.lib");
include("../lib/std.lib");
include("user_check.php");

$cat_id=param('cat_id');
$title=param('cat_title');

cat_update_title($shop_id,$cat_id,$title);

redirect("Title $cat_id: <i>$title</i> updated.","./p_cat_show.php?cat_id=$cat_id");

?>
